<template>
  <div>
    <pre v-html="conditionContent"></pre>
  </div>
</template>
<script>
import api from '../api';

export default {
  data() {
    return {
      conditionContent: undefined
    };
  },
  created() {
    this.init();
  },
  methods: {
    init() {
      api.getCondition().then((data) => {
        this.conditionContent = data.content;
      });
    }
  }
};
</script>
